<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>商品详情</title>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/details.css"/>
		<script src="./Public/Home/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<!--网页头部、包含灰条、搜索区、导航栏-->
		<!--网页头部、包含灰条、搜索区、导航栏-->
<header>
    <!--灰色条形区域-->
    <div id="top_bar">
        <div class="top_center">
            <!--灰条左侧-->
            <!--可以在这打印_SESSION看-->
                            <div class="fl top_site">
<!--                    <a href="javascript:;">收货地 &nbsp;&nbsp;</a>-->
                </div>
                <div class="fl top_site" >
                    欢迎<a target="_blank" style="color: red" href="p_1.html" id="yonghudenglu">李四</a>  !
                    &nbsp;&nbsp;|<a target="_blank" style="color: red" href="p_1.html">个人中心</a>&nbsp;&nbsp;&nbsp;|<a href="http://localhost/shop/index.php?m=Home&c=User&a=out">[退出]</a>
                </div>
                        <!--灰条右侧-->
            <div class="fr top_nav">
<!--                <a href="">我的订单</a>-->
            </div>
        </div>
    </div>
    <!--图片广告-->
    <a id="pic" target="_blank" href="d_53_35.html"></a>
    <!--头部栏区域-->
    <div id="head_bar">
        <div class="h_center">
            <!--logo-->
            <div class="fl headbar_logo">
                <a href="index.html"><img src="./Public/Home/img/icon11.png"/></a>
            </div>
            <div class="fl headbar_slogan">
                <a href="javascript:;" style="cursor: default"><img src="./Public/Home/img/icon13.png"></a>
            </div>
            <!--中部搜索-->
            <div class="fl headbar_search">
                <div class="search_box">
                    <form action="http://localhost/shop/index.php?m=Home&c=Price&a=index" method="post">
                        <input type="text" name="search" id="" class="fl search_input" value="" />
                        <input type="submit" class="fl search_btn" value="搜索"/>
                    </form>
                </div>
                <div class="search_words">
                    <span>热门搜索:</span>
                                        <a target="_blank" href="d_49_39.html" class="link">小米 小米手机5</a>
                                        <a target="_blank" href="d_44_23.html" class="link">苹果 iPad Air Wifi+Cellular</a>
                                        <a target="_blank" href="d_56_35.html" class="link">小米 红米手机 3S 标准版</a>
                                        <a target="_blank" href="d_59_35.html" class="link">魅族 魅蓝metal 公开版</a>
                                    </div>
            </div>
            <!--购物车-->
            <div class="fr buy_car_box">
                <div class="my_car">
                    <span class="silder"><b>0</b>
               </span>
                    <a href="cart.html">我的购物车</a>
                </div>
                                
<!--                <div class="car_empty">-->
<!--                    快去选择物品吧！-->
<!--                </div>-->
                                <p style="color: #999; text-align: center;">累计陪伴84万+用户</p>
            </div>
        </div>
    </div>
    <!--头部栏区域结束-->
    <!--导航条区域开始-->
    <div id="nav_bar">
        <div class="nav_center">
            <ul class="navbar_list">
                <li class="item all">
                    <a href="javascript:;" class="link" style="cursor: default">全部商品分类</a>
                    <ul class="nav_list">
                        <li class="bar">
                            <p class="nav_title type1">价格分类</p>
                            <div class="nav_page">
                                <div class="nav_container">
                                    <p class="nav_name">价格选择</p>
                                    <ul class="nav_type">
                                        <li class="item"><a target="_blank" href="pr_1_499.html" class="link">1-499</a></li>
                                        <li class="item"><a target="_blank" href="pr_500_999.html" class="link">500-999</a></li>
                                        <li class="item"><a target="_blank" href="pr_1000_1999.html" class="link">1000-1999</a></li>
                                        <li class="item"><a target="_blank" href="pr_2000_2999.html" class="link">2000-2999</a></li>
                                        <li class="item"><a target="_blank" href="pr_3000_3999.html" class="link">3000-3999</a></li>
                                        <li class="item"><a target="_blank" href="pr_4000_4999.html" class="link">4000-4999</a></li>
                                        <li class="item"><a target="_blank" href="pr_5000_30000.html" class="link">5000以上</a></li>
                                    </ul>
                                    <a href="d_53_35.html" class="nav_img">
                                        <img src="./Public/Home/img/menua2.png" alt="" />
                                    </a>
                                </div>
                            </div>
                        </li>
                        <li class="bar">
                            <p class="nav_title type2">品牌分类</p>
                            <div class="nav_page">
                                <div class="nav_container">
                                    <p class="nav_name">品牌选择</p>
                                    <ul class="nav_type">
                                                                                <li class="item"><a target="_blank" href="b_16.html" class="link">VIVO</a></li>
                                                                                <li class="item"><a target="_blank" href="b_13.html" class="link">酷派</a></li>
                                                                                <li class="item"><a target="_blank" href="b_18.html" class="link">暴风魔镜</a></li>
                                                                                <li class="item"><a target="_blank" href="b_12.html" class="link">苹果</a></li>
                                                                                <li class="item"><a target="_blank" href="b_6.html" class="link">华为</a></li>
                                                                                <li class="item"><a target="_blank" href="b_20.html" class="link">乐视</a></li>
                                                                                <li class="item"><a target="_blank" href="b_15.html" class="link">疾速</a></li>
                                                                                <li class="item"><a target="_blank" href="b_11.html" class="link">三星</a></li>
                                                                            </ul>
                                    <a href="d_54_35.html" class="nav_img">
                                        <img src="./Public/Home/img/menua7.png" alt="" />
                                    </a>
                                </div>
                            </div>
                        </li>
                        <li class="bar">
                            <p class="nav_title type6">热销商品</p>
                            <div class="nav_page">
                                <div class="nav_container">
                                    <p class="nav_name">热销商品</p>
                                    <ul class="nav_type">
                                                                                <li class="item"><a target="_blank" href="d_49_39.html" class="link">小米 小米手机5</a></li>
                                                                                <li class="item"><a target="_blank" href="d_44_23.html" class="link">苹果 iPad Air Wifi+Cellular</a></li>
                                                                                <li class="item"><a target="_blank" href="d_56_35.html" class="link">小米 红米手机 3S 标准版</a></li>
                                                                                <li class="item"><a target="_blank" href="d_59_35.html" class="link">魅族 魅蓝metal 公开版</a></li>
                                                                                <li class="item"><a target="_blank" href="d_72_34.html" class="link">三星 存储卡8G class4</a></li>
                                                                                <li class="item"><a target="_blank" href="d_45_24.html" class="link">三星 GALAXY Tab S2 T810</a></li>
                                                                                <li class="item"><a target="_blank" href="d_50_5.html" class="link">小米 小米平板2</a></li>
                                                                                <li class="item"><a target="_blank" href="d_58_35.html" class="link">小米 小米Note 顶配版</a></li>
                                                                            </ul>
                                    <a href="d_55_35.html" class="nav_img">
                                        <img src="./Public/Home/img/menua3.png" alt="" />
                                    </a>
                                </div>
                            </div>
                        </li>
                                                <li class="bar">
                            <p class="nav_title type4">智能手机</p>
                            <div class="nav_page">
                                <div class="nav_container">
                                    <p class="nav_name">智能手机</p>
                                    <ul class="nav_type">
                                                                                <li class="item"><a target="_blank" href="c_35.html" class="link">高性价比</a></li>
                                                                                <li class="item"><a target="_blank" href="c_36.html" class="link">拍照神器</a></li>
                                                                                <li class="item"><a target="_blank" href="c_37.html" class="link">高清大屏</a></li>
                                                                                <li class="item"><a target="_blank" href="c_38.html" class="link">主流商务</a></li>
                                                                                <li class="item"><a target="_blank" href="c_39.html" class="link">潮流热销</a></li>
                                                                                <li class="item"><a target="_blank" href="c_40.html" class="link">时尚外观</a></li>
                                                                                <li class="item"><a target="_blank" href="c_41.html" class="link">老人机</a></li>
                                                                            </ul>
                                    <a href="d_53_35.html" class="nav_img">
                                        <img src="./Public/Home/img/menua4.png" alt="" />
                                    </a>
                                </div>
                            </div>
                        </li>
                                                <li class="bar">
                            <p class="nav_title type5">智能设备</p>
                            <div class="nav_page">
                                <div class="nav_container">
                                    <p class="nav_name">智能设备</p>
                                    <ul class="nav_type">
                                                                                <li class="item"><a target="_blank" href="c_19.html" class="link">智能手环</a></li>
                                                                                <li class="item"><a target="_blank" href="c_18.html" class="link">智能手表</a></li>
                                                                                <li class="item"><a target="_blank" href="c_22.html" class="link">智能机器人</a></li>
                                                                                <li class="item"><a target="_blank" href="c_21.html" class="link">智能家居</a></li>
                                                                                <li class="item"><a target="_blank" href="c_20.html" class="link">智能眼镜</a></li>
                                                                            </ul>
                                    <a href="d_54_35.html" class="nav_img">
                                        <img src="./Public/Home/img/menua5.png" alt="" />
                                    </a>
                                </div>
                            </div>
                        </li>
                                                <li class="bar">
                            <p class="nav_title type6">平板电脑</p>
                            <div class="nav_page">
                                <div class="nav_container">
                                    <p class="nav_name">平板电脑</p>
                                    <ul class="nav_type">
                                                                                <li class="item"><a target="_blank" href="c_23.html" class="link">iPad Air</a></li>
                                                                                <li class="item"><a target="_blank" href="c_24.html" class="link">三星 GALAXY S2</a></li>
                                                                                <li class="item"><a target="_blank" href="c_25.html" class="link">iPad mini2</a></li>
                                                                                <li class="item"><a target="_blank" href="c_26.html" class="link">苹果 iPad mini 4</a></li>
                                                                                <li class="item"><a target="_blank" href="c_27.html" class="link">华为 荣耀X2</a></li>
                                                                                <li class="item"><a target="_blank" href="c_28.html" class="link">华为 M2</a></li>
                                                                                <li class="item"><a target="_blank" href="c_42.html" class="link">长虹V6</a></li>
                                                                            </ul>
                                    <a href="d_55_35.html" class="nav_img">
                                        <img src="./Public/Home/img/menua6.png" alt="" />
                                    </a>
                                </div>
                            </div>
                        </li>
                                                <li class="bar">
                            <p class="nav_title type7">手机配件</p>
                            <div class="nav_page">
                                <div class="nav_container">
                                    <p class="nav_name">手机配件</p>
                                    <ul class="nav_type">
                                                                                <li class="item"><a target="_blank" href="c_29.html" class="link">贴膜</a></li>
                                                                                <li class="item"><a target="_blank" href="c_30.html" class="link">移动电源</a></li>
                                                                                <li class="item"><a target="_blank" href="c_31.html" class="link">手机保护套</a></li>
                                                                                <li class="item"><a target="_blank" href="c_32.html" class="link">蓝牙耳机</a></li>
                                                                                <li class="item"><a target="_blank" href="c_33.html" class="link">充电器/数据线</a></li>
                                                                                <li class="item"><a target="_blank" href="c_34.html" class="link">存储卡</a></li>
                                                                            </ul>
                                    <a href="d_56_35.html" class="nav_img">
                                        <img src="./Public/Home/img/menua7.png" alt="" />
                                    </a>
                                </div>
                            </div>
                        </li>
                        
                    </ul>
                </li>
                                <li class="item"><a href="c_8.html" >智能手机</a></li>
                                <li class="item"><a href="c_6.html" >智能设备</a></li>
                                <li class="item"><a href="c_5.html" >平板电脑</a></li>
                                <li class="item"><a href="c_17.html" >手机配件</a></li>
                            </ul>
        </div>
    </div>
    <!--导航条区域结束-->
</header>


		<!--网页头部、包含灰条、搜索区、导航栏-->
		<!--当前位置-->
		<div id="detail_location">
			<div class="location_box">
				<span>当前位置：</span>
				<a href="<?php echo U('Index/index')?>">首页</a>>
				<a href="<?php echo U('List/index',['cid'=>$commodData['cid']])?>"><?php echo $commodData['cname']?></a>>
				<a href="<?php echo U('Price/index',['bid'=>$bid])?>"><?php echo $bandName?></a>>
				<a href="javascript:;"><?php echo $commodData['coname']?></a>
			</div>
		</div>
		<!--当前位置-->
		<!--购买选择-->
		<div id="detail_content">
			<!--商品名称-->
			<div class="detail_title">
				<div class="float_left">
					<h3 style="margin-left: 10px;font-size: 22px;margin-top: 10px;color: #666;">
						<?php echo $commodData['coname']?>
					</h3>
					<p style="color: #FF0202;margin-left: 10px;width: 962px;font-size: 15px;">
						十核CPU 5.5英寸FHD屏 限量发售，在线下单包邮
					</p>
				</div>
			</div>
			<!--购买选择-->
			<div class="buy_box">
				<!--左侧图片区域-->
				<div class="detail_img fl">
					<div class="big_show">
						<?php foreach ($commodData['coimg'] as $u){?>
						<img src="<?php echo $u?>" alt="" />
						<?php }?>
					</div>
					<div class="small_show">
						<ul class="small_img">
							<?php foreach ($commodData['coimg'] as $u){?>
							<li><a href=""><img src="<?php echo $u?>" alt="" /></a></li>
							<?php }?>
						</ul>
					</div>

					<script type="text/javascript">
					$(function(){
						$(".small_img li").mouseover(function(){
						num=$(this).index();
						$(".big_show img").eq(num).fadeIn(500).siblings("img").fadeOut(500);
						$(".small_img li").eq(num).css({border:"2px solid red"}).siblings().css({border:"1px solid #f5f5f5"});
					})
						})
					</script>
					<div class="shangpin_id" style="margin-top: 13px;">
						<span>商品编号：<?php echo $commodData['conum']?></span>
					</div>
				</div>
				<!--右侧价格、机型、评分-->
				<div class="right_box fl">
					<!--中部选择区域-->
					<div class="main_box fl">
						<!--中间价格选择机型-->
						<div class="center_box">
							<div class="price_top">
								<!--价格条-->
								<div class="de_price">
									<p class="label">促销价</p>
									<div class="detail_clear">
										<p class="price">￥<span class="oldpri"><?php echo $commodData['comallpr']?></span></p>
										<p class="market_price">市场价:￥<span><?php echo $commodData['coshoppr']?></span></p>
										<p class="sheng">省￥<span class="youhui">0.00</span></p>
										<p class="sales"></p>
										<p class="times">共<span><?php echo $commodData['coclick']?></span>人查看</p>
									</div>
								</div>
								<!--发货地区-->
								<div class="sale_area">
									<p>发货时间 &nbsp;&nbsp;当天16：00前下单 18：00后发货，16：00后下单第二天发货</p>
									<p>到货时间  &nbsp;&nbsp;2-3天（新疆、西藏、港澳台等地区除外）</p>
									<p>心  服  务 &nbsp;&nbsp;闪电退换、返店交通补助、服务投诉奖励</p>
								</div>
								<!--颜色、制式、内存选择-->
								<div class="memory_color">
									<ul>
										<?php foreach ($finalAttr as $u){?>
											<?php if($u['tatype']==0){?>
                
											<li>
												<h3 class="fl"><?php echo $u['name']?>选择：</h3>
												<?php foreach ($u['value'] as $v){?>
												<span class="fl" chooseId="<?php echo $v['coattid']?>"><?php echo $v['coattvalue']?></span>
												<?php }?>
											</li>
											
               <?php }?>
										<?php }?>
										<script type="text/javascript">
											$(function(){
												$('.memory_color span').click(function(){
													$(this).addClass('color01').siblings().removeClass('color01');
													//li标签的个数,也就是多少种规格
													var liLen=$('.memory_color li').length-1;
													//选中的元素的个数
													var colorLen=$('.color01').length;
													if(liLen==colorLen){
														var str = '';
														//得到所有选中的商品属性id,然后发异步到货品列表查询,最后获得结果
														$.each($('.color01'),function(){
															str+=$(this).attr('chooseId')+',';
														})
//														alert(str);
														$.ajax({
															type:"post",
															url:"<?php echo U('Detail/add')?>",
															data:{s:str},
															//指定服务器返回的数据类型
															dataType:'json',
															success:function(phpData){
																console.log(phpData);
																var  attr='';
																var  pri='';
																var  conum='';
																var  tips='';
																var  sheng='';
																if(phpData){
																	attr+='库存'+'<span class="kc_num">'+ phpData.colnum+'</span>';
																	pri+=(<?php echo $commodData['comallpr']?>*1+phpData.coattaddpri*1).toFixed(2);
																	conum+='货品编号：'+'<span>'+phpData.colstock+'</span>';
																	sheng+=(<?php echo $commodData['coshoppr']?>*1-phpData.coattaddpri*1-<?php echo $commodData['comallpr']?>*1).toFixed(2);
																	tips+='正在促销，抢购中';
																}else{
																	attr+='库存'+'<span class="kc_num">'+0+'</span>';
																	pri+=(<?php echo $commodData['comallpr']?>).toFixed(2);
																	conum+='商品编号：'+'<span>'+<?php echo $commodData['conum']?>+'</span>';
																	tips+='不好意思，暂时没货哦):';
																	sheng+=(<?php echo $commodData['coshoppr']?>*1-<?php echo $commodData['comallpr']?>*1).toFixed(2);
																}
																$('.oldpri').html(pri);
																$('.sales').html(attr);
																$('.shangpin_id').html(conum);
																$('.tips').html(tips);
																$('.youhui').html(sheng);
															}
														});
													}
												})
											})
										</script>
										<li>
											<h3 class="fl label">购买数量：</h3>
											<div class="count_num">
												<a href="javascript:;" class="rduce">-</a>
												<input type="text" class="result" readonly="readonly" name="result" value="1"/>
												<a href="javascript:;" class="add">+</a>
											</div>
											<!--购物车加减数量-->
											<script type="text/javascript">
												$(function(){
													$(".add").click(function(){
														var a=$(".sales .kc_num").html();
//														alert(a);
														var n=$(this).prev().val();
														var num=parseInt(n)+1;
														if(num>a){alert('不能选择超出库存的数量哦');return;}
														if(num==0){ return;}
														$(this).prev().val(num);
													})
													$(".rduce").click(function(){
														var n=$(this).next().val();
														var num=parseInt(n)-1;
														if(num==0){alert('最少购买一件商品哦(:');return;}
														$(this).next().val(num);
														});
												})
											</script>
											<h3 class="fl tips" style="margin-left: 10px;">正在促销，抢购中</h3>
										</li>
									</ul>
								</div>
							</div>
							<div class="add_car">
								<div class="buy_now fl"><a href="javascript:;" class="buynow">立即购买</a></div>
								<div class="car_btn fl"><a href="javascript:;" class="addcart">加入购物车</a></div>
							</div>
<!--							立即购买-->
							<script>
								$(function(){
									$('.buynow').click(function(){
//										判断用户是否登录，登录才能购买商品
										if(typeof($("#yonghudenglu").val())=="undefined"){
											alert('亲，请先登录才能购买商品');return;
										}
										if($(".kc_num").text()=="0"){
											alert('亲，当前商品没货哦，请挑选其他商品:)');return;
										}
										//li标签的个数,也就是多少种规格
										var liLen=$('.memory_color li').length-1;
										//选中的元素的个数
										var colorLen=$('.color01').length;
//										当所有规格都选了 才能加购买
										if(liLen==colorLen){
											location.href="<?php echo U('Order/ordernow')?>";
											var str = '';
											//得到所有选中的商品属性id,然后发异步到货品列表查询,最后获得结果
											$.each($('.color01'),function(){
												str+=$(this).attr('chooseId')+',';
											})
											var pri=$('.price .oldpri').html();
											var num=$('.result').val();
											var kucun=$(".sales .kc_num").html();
											var name=$('.float_left h3').html();
											var info=$('.float_left p').html();
											var sheng=$('.youhui').html();
											$.ajax({
												type:"post",
												url:"<?php echo U('Detail/buynow')?>",
												data:{str:str,pri:pri,num:num,name:name,info:info,sheng:sheng,coid:<?php echo $_GET['coid']?>},
											})
										}else{
											alert('先选择规格才能购买哦');
										}
									})
								})
							</script>
<!--							加入购物车-->
							<script>
								$(function(){
									$('.addcart').click(function(){
//										判断用户是否登录，登录才能加购物车
										if(typeof($("#yonghudenglu").val())=="undefined"){
											alert('亲，请先登录才能添加购物车');return;
										}
										if($(".kc_num").text()=="0"){
											alert('亲，当前商品没货哦，请挑选其他商品:)');return;
										}
										//li标签的个数,也就是多少种规格
										var liLen=$('.memory_color li').length-1;
										//选中的元素的个数
										var colorLen=$('.color01').length;
//										当所有规格都选了 才能加购物车
										if(liLen==colorLen){
											var str = '';
											//得到所有选中的商品属性id,然后发异步到货品列表查询,最后获得结果
											$.each($('.color01'),function(){
												str+=$(this).attr('chooseId')+',';
											})
											var pri=$('.price .oldpri').html();
											var num=$('.result').val();
											var kucun=$(".sales .kc_num").html();
											var name=$('.float_left h3').html();
											var info=$('.float_left p').html();
											var sheng=$('.youhui').html();
											alert('商品添加成功:)');
											$.ajax({
												type:"post",
												url:"<?php echo U('Detail/addcart')?>",
												data:{str:str,pri:pri,num:num,name:name,info:info,sheng:sheng,coid:<?php echo $_GET['coid']?>},
												//指定服务器返回的数据类型
												dataType:'json',
												success:function(phpData){
													console.log(phpData);
													var carnum='';
													carnum+='<b>'+phpData.total_rows+'</b>';
													$('.silder').html(carnum);
												}
											})
										}
									})
								})
							</script>
						</div>
					</div>
					<!--右侧点击排行-->
					<div class="click_rank fl">
						<div class="click_box">
							<div class="updown_box">
								<a href="javascript:;" class="upbtn"></a>
								<a href="javascript:;" class="downbtn"></a>
							</div>
							<h2 class="click_title">点击排行</h2>
							<div class="click_listbox">
								<ul class="click_list">
									<?php foreach ($clickData as $k=>$u){?>
									<li>
										<div class="click_num"><?php echo $k+1?></div>
										<a href="<?php echo U('Detail/index',['coid'=>$u['coid'],'cid'=>$u['shop_category_cid']])?>">
											<p class="goods_title" style="text-align: center"><?php echo $u['coname']?></p>
											<div class="goods_imgbox">
												<img src="<?php echo $u['colistimg']?>"/>
											</div>
											<p class="goods_price" style="color: red">￥<?php echo $u['comallpr']?></p>
											<p class="goods_times">浏览了<span><?php echo $u['coclick']?></span>次</p>
										</a>
									</li>
									<?php }?>
								</ul>
							</div>
							<script>
								$(function(){
									var num=0;
									$('.upbtn').click(function(){
										num++;
										if(num==1){
											num=0;
											$('.click_list').css({top:0+"px"});
										}
										var t=num*170;
										$(".click_list").stop().animate({top:t+"px"},500);
									})
									$('.downbtn').click(function(){
										num--;
										if(num==-4){
											num=0;
											$('.click_list').stop().animate({top:0+"px"},500);
										}
										var d=num*170;
										$(".click_list").stop().animate({top:d+"px"},500);
									})
								})
							</script>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!--购买选择-->
		<!--商品详情-->
		<div id="detail_information">
			<!--左部分商品详细信息-->
			<div class="info_leftbox fl">
				<!--导航条-->
				<div class="info_header">
					<ul class="clear">
						<li class="fl"><a href="">商品详情</a></li>
<!--						<li class="fl"><a href="">晒单评价</a></li>-->
					</ul>
				</div>
				<!--内容部分-->
				<div class="info_content">
					<div style="border: 1px solid #ddd;padding: 15px;">
						<!--主要参数-->
						<div class="main_parameter">
							<div class="parameter_head">
								<h3 class="fl">主要参数</h3>
<!--								<p class="ri"><a href="" id="chakanxiangqing">查看详情>></a></p>-->
							</div>
							<div class="parameter_count">
								<div class="count_t">
									<u class="clear">
										<li class="fl t_img1">
											<p class="p1 p">主屏尺寸：<span>5.5英寸</span></p>
											<p class="p1 p">品牌：<span>乐视</span></p>
										</li>
										<li class="fl t_img2">
											<p class="p2 p">后置摄像头：<span>1600万像素</span></p>
											<p class="p5 p">系统：<span>基于Android</span></p>
										</li>
										<li class="fl t_img3">
											<p class="p3 p">内存：<span>3GB</span></p>											
											<p class="p1 p">制式：<span>4G全网通</span></p>
										</li>
										<li class="fl t_img4">
											<p class="p4 p">CPU：<span>10核</span></p>
											<p class="p1 p">颜色：<span>银色</span></p>
										</li>
									</u>
								</div>
							</div>
						</div>
					</div>
					<div class="pro_introduce">
<!--						<div class="d_comment">-->
<!--							<h4>小迪点评</h4>-->
<!--							<div class="d_msg">-->
<!--								<div class="d_img fl">-->
<!--									<img src="./Public/Home/img/ren3.jpg" alt="" class="fl"-->
<!--										width="116px"height="116px" />-->
<!--									<span class="fl">小迪专家</span>-->
<!--								</div>-->
<!--								<div class="d_message fl">-->
<!--									<div class="d_del">-->
<!--										<p>乐2的发布让乐视在千元价位的手机市场稳稳的占有一席，号称旗舰杀手的乐2，在硬件配置上搭载联发科十核Helio X20处理器外加“3+32”内存，并且拥有金属机身、指纹识别、快充3.0、HelioX20双卡全网通以及Type-C数字化耳机等，作为乐视生态系统的一员，乐2全新升级的EUI更加完善和流畅，综合体验大幅提升。</p>-->
<!--									</div>-->
<!--								</div>-->
<!--							</div>-->
<!--						</div>-->
						<h3>图文介绍</h3>
						<div class="introduce_img">
							<p>
								<?php echo $commodData['codetail']?>
							</p>
						</div>
					</div>
				</div>
			</div>
			<!--右侧排行、新品上市-->
			<div class="info_rightbox fr">
				<!--销售排行-->
<!--				<div class="sale_rank">-->
<!--					<h2 class="title">销售排行</h2>-->
<!--					<div class="list">-->
<!--						<div class="item">-->
<!--							<a href="" class="img">-->
<!--								<img src="./Public/Home/img/X160530162948028121.jpg" alt="" />-->
<!--							</a>-->
<!--							<p class="name">苹果 iPhone 6s 16GB 金色<a href=""></a></p>-->
<!--							<p class="price">￥4688.00</p>-->
<!--						</div>-->
<!--						<div class="item">-->
<!--							<a href="" class="img">-->
<!--								<img src="./Public/Home/img/X160530162948028121.jpg" alt="" />-->
<!--							</a>-->
<!--							<p class="name">苹果 iPhone 6s 16GB 金色<a href=""></a></p>-->
<!--							<p class="price">￥4688.00</p>-->
<!--						</div>-->
<!--						<div class="item">-->
<!--							<a href="" class="img">-->
<!--								<img src="./Public/Home/img/X160530162948028121.jpg" alt="" />-->
<!--							</a>-->
<!--							<p class="name">苹果 iPhone 6s 16GB 金色<a href=""></a></p>-->
<!--							<p class="price">￥4688.00</p>-->
<!--						</div>-->
<!--						<div class="item">-->
<!--							<a href="" class="img">-->
<!--								<img src="./Public/Home/img/X160530162948028121.jpg" alt="" />-->
<!--							</a>-->
<!--							<p class="name">苹果 iPhone 6s 16GB 金色<a href=""></a></p>-->
<!--							<p class="price">￥4688.00</p>-->
<!--						</div>-->
<!--						<div class="item">-->
<!--							<a href="" class="img">-->
<!--								<img src="./Public/Home/img/X160530162948028121.jpg" alt="" />-->
<!--							</a>-->
<!--							<p class="name">苹果 iPhone 6s 16GB 金色<a href=""></a></p>-->
<!--							<p class="price">￥4688.00</p>-->
<!--						</div>-->
<!--					</div>-->
<!--				</div>-->
				<!--新品上市-->
				<div class="sale_rank">
					<h2 class="title">新品上市</h2>
					<div class="list">
						<?php foreach ($newcommodData as $u){?>
						<div class="item">
							<a href="<?php echo U('Detail/index',['coid'=>$u['coid'],'cid'=>$u['shop_category_cid']])?>" class="img">
								<img src="<?php echo $u['colistimg']?>" alt="" />
							</a>
							<p class="name"><a href="<?php echo U('Detail/index',['coid'=>$u['coid'],'cid'=>$u['shop_category_cid']])?>"><?php echo $u['coname']?></a></p>
							<p class="price">￥<?php echo $u['comallpr']?></p>
						</div>
						<?php }?>
					</div>
				</div>
				<!--同品牌机型-->
				<div class="sale_rank">
					<h2 class="title">同品牌商品</h2>
					<div class="list">
						<?php foreach ($samebrandData as $u){?>
						<div class="item">
							<a href="<?php echo U('Detail/index',['coid'=>$u['coid'],'cid'=>$u['shop_category_cid']])?>" class="img">
								<img src="<?php echo $u['colistimg']?>" alt="" />
							</a>
							<p class="name"><a href="<?php echo U('Detail/index',['coid'=>$u['coid'],'cid'=>$u['shop_category_cid']])?>"><?php echo $u['coname']?></a></p>
							<p class="price">￥<?php echo $u['comallpr']?></p>
						</div>
						<?php }?>
					</div>
				</div>
			</div>
		</div>
		<!--商品详情-->
		<!--底部区域-->
		<!--底部区域-->
		<footer>
			<div id="foot_box">
				<div class="foot_center">
					<dl class="friend">
						<dt>友情链接:</dt>
						<dd class="fl"><a href="http://www.mi.com/">小米</a></dd>
						<dd class="fl"><a href="http://www.meizu.com/">魅族</a></dd>
						<dd class="fl"><a href="http://www.huawei.com/cn/">华为</a></dd>
						<dd class="fl"><a href="http://www.360shouji.com/home/">360</a></dd>
					</dl>
					<p>联系开发者：15830097257</p>
					<p>站长邮箱: 413551717@qq.com</p>
					<p class="record">Powered by Y-Jinlong©2001-2017京ICP备号15830097257©2001-2017 Y-Jinlong Inc. </p>
				</div>
			</div>
		</footer>
		<!--底部区域-->
		<!--底部区域-->
	</body>
</html>
